package com.CommunityHub.kiana.po;

import java.sql.Time;
import java.util.Date;

public class VenueBooking {
    private Integer bookingId;
    private Integer venueId; // 关联VenueInfo.venueId
    private Integer memberId; // 关联MemberDetail.memberId
    private Date bookingDate;
    private Time startTime;
    private Time endTime;
    private Integer bookingStatus; // 0=待审,1=通过,2=取消,3=完成

    public VenueBooking(Integer bookingId, Integer venueId, Integer memberId, Date bookingDate, Time startTime, Time endTime, Integer bookingStatus) {
        this.bookingId = bookingId;
        this.venueId = venueId;
        this.memberId = memberId;
        this.bookingDate = bookingDate;
        this.startTime = startTime;
        this.endTime = endTime;
        this.bookingStatus = bookingStatus;
    }

    public Integer getBookingId() {
        return bookingId;
    }

    public void setBookingId(Integer bookingId) {
        this.bookingId = bookingId;
    }

    public Integer getVenueId() {
        return venueId;
    }

    public void setVenueId(Integer venueId) {
        this.venueId = venueId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Date getBookingDate() {
        return bookingDate;
    }

    public void setBookingDate(Date bookingDate) {
        this.bookingDate = bookingDate;
    }

    public Time getStartTime() {
        return startTime;
    }

    public void setStartTime(Time startTime) {
        this.startTime = startTime;
    }

    public Time getEndTime() {
        return endTime;
    }

    public void setEndTime(Time endTime) {
        this.endTime = endTime;
    }

    public Integer getBookingStatus() {
        return bookingStatus;
    }

    public void setBookingStatus(Integer bookingStatus) {
        this.bookingStatus = bookingStatus;
    }
    // Getters and Setters
}

